package com.rainy.micservice.feignclient;

import com.rainy.micservice.feignclient.service.DemoClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "biz-provider-01",fallbackFactory = DemoClientFallbackFactory.class)
public interface DemoClient {

    @RequestMapping("/demo/home/")
    String home();

}
